package com.vrv.im.persistence;

import java.util.List;
import java.util.Map;

import com.vrv.im.domain.ProjectBean;
import com.vrv.im.vo.BindProjectVo;
import com.vrv.im.vo.ProjectExtVo;

public interface ProjectMapper {
    /**
     * 获得所有项目
     *
     * @return
     */
    public List<ProjectBean> getAllProject();

    public ProjectExtVo getProjectExtVoByID(BindProjectVo searchCondition);

    /**
     * 获得单个项目
     *
     * @param projectID
     * @return
     */
    public ProjectBean getProjectByID(long projectID);

    /**
     * 根据ID集合获取项目
     *
     * @return
     */
    public List<ProjectBean> getProjectByListID(Map<String, List<Long>> map);

    /**
     * 添加企业
     */
    public long addProject(ProjectBean b);
}
